package shape;

/**
 * Created by thoughtworks on 24/7/14.
 */
public abstract class Line extends Shape {

    int length;
    public Line(char c,int length1) {
        dataUnit = c;
        if(length1 < 0)
            throw new RuntimeException("Length cannot be negative");
        length = length1;
    }

    @Override
    public abstract String[] exportString();
}
